package doughnut.xc.pojo;

import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 测试百万数据表
 */
@Data
@Table(name="tb_user2")
public class User2 implements Serializable {

    private Long id;
    private String userName;
    private String phone;
    private String province;
    private String city;
    private Integer salary;
    private Date hireDate;
    private String deptId;
    private Date birthday;
    private String photo;
    private String address;


    @Override
    public String toString() {
        return "User2{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", salary=" + salary +
                ", hireDate=" + hireDate +
                ", deptId='" + deptId + '\'' +
                ", birthday=" + birthday +
                ", photo='" + photo + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
